package com.ruiysoft.crm.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 新人指导说明书
 *
 * @author lumiing
 * @date 2019-06-23 18:24:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName(value = "biz_specification")
public class BizSpecification extends Model<BizSpecification> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 栏目
     */
    @TableField(value = "catalogName", exist = true)
    private String catalogName;
    /**
     * 机构编码
     */
    @TableField(value = "enterprise_id", exist = true)
    private String enterpriseId;
    /**
     * 栏目id
     */
    @TableField(value = "catalogId", exist = true)
    private String catalogId;
    /**
     * 话题
     */
    @TableField(value = "question", exist = true)
    private String question;
    /**
     * 解答
     */
    @TableField(value = "answer", exist = true)
    private String answer;
    /**
     * 创建日期
     */
    @TableField(value = "create_date", exist = true)
    private LocalDateTime createDate;
    /**
     * 修改日期
     */
    @TableField(value = "modification_date", exist = true)
    private LocalDateTime modificationDate;

}